<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    {# 定义标题 #}
    <title>{% block title %} {% endblock %}</title>
    <style>
        .header {
            text-align: center;
        }

        .footer {
            margin-top: 20px;
            text-align: center;
            font-size: 18px;
        }

    </style>
</head>
<body>
{% include 'base/header.html' %}
{# ----定义内容--- #}
{% block content %} {% endblock %}
{% include 'base/footer.html' %}
</body>
</html>